package cn.wolfcode.wolf2world.repository;

import cn.wolfcode.wolf2world.domain.StrategyCatalog;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

/**
 * @author 杨兴健
 * @Date 2020/8/9 20:04
 */
public interface StrategyCatalogRepository extends MongoRepository<StrategyCatalog,String> {
    /**
     * 根据目的地id查询攻略
     * @param destId
     * @return
     */
    List<StrategyCatalog> findByDestId(String destId);
}
